//
//  GuideCell.m
//  GuideMe
//
//  Created by Amila Fonseka on 3/25/12.
//  Copyright 2012 __MyCompanyName__. All rights reserved.
//

#import "GuideCell.h"

@implementation GuideCell

@synthesize lblTourLocation;

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code.
		self.contentView.backgroundColor = [UIColor clearColor];
		
        //		imgCellBackground = [[UIImageView alloc] initWithFrame:CGRectMake(0.0, 0.0, 320.0, 40.0)];
        //		imgCellBackground.contentMode=UIViewContentModeScaleAspectFit;
        //		imgCellBackground.image = [UIImage imageNamed:@"cellLeague.png"];
        //		[self.contentView addSubview:imgCellBackground];
		
//        lblUserMessage=[[UILabel alloc] initWithFrame:CGRectMake(60.0, 18.0, 200.0, 50.0)];
//		lblUserMessage.textColor = [UIColor colorWithRed:0.3 green:0.3 blue:0.3 alpha:1.0];
//		lblUserMessage.numberOfLines = 0;
//		lblUserMessage.lineBreakMode=UILineBreakModeWordWrap;
//		lblUserMessage.font = [UIFont fontWithName:@"Helvetica" size:12];
//		lblUserMessage.backgroundColor=[UIColor clearColor];
        
        lblTourLocation = [[UILabel alloc] initWithFrame:CGRectMake(20.0, 10.0, 280.0, 20.0)];
		lblTourLocation.font = [UIFont fontWithName:@"Helvetica" size:14];
		lblTourLocation.textColor = [UIColor blackColor];
		lblTourLocation.numberOfLines = 0;
		lblTourLocation.shadowColor = [UIColor whiteColor];
		lblTourLocation.shadowOffset = CGSizeMake(0, 1);
		lblTourLocation.lineBreakMode=UILineBreakModeWordWrap;
		lblTourLocation.backgroundColor=[UIColor clearColor];
		lblTourLocation.contentMode = UIViewContentModeScaleToFill;
		lblTourLocation.autoresizingMask = UIViewAutoresizingNone;
		[self.contentView addSubview:lblTourLocation];
        
//        lblTourLocation=[[UILabel alloc] initWithFrame:CGRectMake(20.0, 10.0, 280.0, 50.0)];
//		lblTourLocation.textColor = [UIColor colorWithRed:0.2 green:0.2 blue:0.2 alpha:1.0];
//		lblTourLocation.numberOfLines=0;
//		lblTourLocation.lineBreakMode=UILineBreakModeWordWrap;
//		lblTourLocation.font = [UIFont fontWithName:@"Helvetica" size:14];
//		lblTourLocation.backgroundColor=[UIColor clearColor];
//		[self.contentView addSubview:lblTourLocation];
    }
    return self;
}


- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    
    [super setSelected:selected animated:animated];
    
    // Configure the view for the selected state.
}


- (void)dealloc {
	
	[lblTourLocation release];
    
	[super dealloc];
}


@end
